home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
64'er Special 87
/
64er_Magazin_Sonderheft_87_19xx_Markt__Technik_de_Side_A.d64
/
graph formatter
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-10-26
|
3KB
|
102 lines
5 fori=49200to49227:reada:pokei,a:next
10 poke53280,0:poke53281,0:print"[147]"
20 print"graphics formatter"
30 print"geben sie ein: lo oder hi grafik:";
40 geta$:ifa$=""then40
50 ifa$="l"thenn$="saved pic.gfl":goto80
60 ifa$="h"thenn$="saved pic.gfh":goto80
70 goto40
80 printa$
90 print"diskette einlegen und taste drucken"
100 geta$:ifa$=""then100
110 print"[147]bitte warten.."
120 fori=1to13:a=asc(mid$(n$,i,1)):poke49151+i,a:next
130 poke184,1:poke186,8:poke185,0
140 poke183,13:poke187,0:poke188,192
150 poke780,0:poke781,0:poke782,32
160 sys65493
170 ifpeek(144)<>64then1000
280 print"bitte ausgabeformat waehlen:"
290 print"koala-painter"
300 print"paint magic"
310 print"multicolor format art studio"
315 print"hires format art studio"
320 geta$:ifa$=""then320
330 ifa$="k"then3000
340 ifa$="p"then4000
350 ifa$="m"then5000
355 ifa$="h"then2000
360 goto320
1000 print"diskfehler :"
1010 open15,8,15
1020 input#15,d1$,d2$,d3$,d4$,d5$
1030 printd1$" "d2$" "d3$" "d4$" "d5$
1040 close15
1050 print"taste! "
1060 geta$:ifa$=""then1060
1070 run
1100 print"[147]ausgabe filename:";
1110 inputn$
1120 iflen(n$)=0then1100
1130 iflen(n$)>16then1100
1140 return
1200 poke184,1:poke186,8
1210 poke187,0:poke188,192:poke183,len(n$)
1215 fori=1tolen(n$):a=asc(mid$(n$,i,1)):poke49151+i,a:next
1220 return
2000 fori=17194to17198:pokei,0:next
2005 gosub1100
2007 print"[147]bitte warten.."
2010 n$=left$(n$+" ",12)+" pic"
2020 gosub1200
2030 poke251,0:poke252,32:poke780,251:poke781,47:poke782,67
2040 sys65496
2050 ifpeek(144)<>0then1000
2060 sys64738
3000 print"[147]bild zeichencode (a-p) :"
3001 geta$:ifa$=""then3001
3002 if(a$<"a")or(a$>"p")then3001
3003 q$=a$
3009 gosub1100
3010 print"[147]bitte warten.."
3020 n$=left$(chr$(129)+"pic "+q$+" "+n$+" ",15)
3030 poke49201,0:poke49203,32:poke49209,43:poke49211,67
3035 poke49217,43:poke49219,131:sys49200
3040 b=peek(33578):c=peek(33577)
3050 fori=33576to34575:pokei,b:next
3060 poke34576,c
3070 gosub1200
3080 poke251,0:poke252,96:poke780,251:poke781,17:poke782,135
3090 sys65496
3100 ifpeek(144)<>0then1000
3110 sys64738
4000 gosub1100
4010 print"[147]bitte warten.."
4015 b=peek(17193):c=peek(17194)
4020 poke49201,64:poke49203,63:poke49209,40:poke49211,67
4025 poke49217,232:poke49219,99:sys49200
4030 poke49201,0:poke49203,32:poke49209,64:poke49211,63
4035 poke49217,64:poke49219,95:sys49200
4040 fori=0to113:poke16270+i,peek(04575+i):next
4050 fori=0to191:poke24384+i,peek(04689+i):next
4060 fori=25576to25599:pokei,0:next
4070 poke25592,254:poke24384,b:poke24387,c:poke24388,0
4080 gosub1200
4090 poke251,142:poke252,63:poke780,251:poke781,0:poke782,100
4100 sys65496
4110 ifpeek(144)<>0then1000
4120 sys64738
5000 b=peek(17194)
5002 fori=17194to17207:pokei,0:next
5005 gosub1100
5007 print"[147]bitte warten.."
5010 n$=left$(n$+" ",11)+" mpic"
5015 fori=17208to18207:pokei,b:next
5020 gosub1200
5030 poke251,0:poke252,32:poke780,251:poke781,32:poke782,71
5040 sys65496
5050 ifpeek(144)<>0then1000
5060 sys64738
6000 data 169,0,160,0,133,95,132,96,169,0,160,0,133,90,132,91,169,0,160,0
6010 data 133,88,132,89,32,191,163,96